/**
 * null管道，不做显示
 */

import {Pipe, PipeTransform} from "@angular/core";
@Pipe({
  name:'shiftAny'
})
export class ShiftAnyPipe implements PipeTransform{
  transform(value: any, arg: any) {
      if (value === null || value.isUndefined){
        return arg+'';
      }
      return arg+value;
  }

}
